package dto

type RegisterRequestDTO struct {
	Email    string `json:"email" binding:"required,email"`
	Password string `json:"password" binding:"required,min=6,max=15"`
}

type LoginRequestDTO struct {
	Email    string `json:"email" binding:"required,email"`
	Password string `json:"password" binding:"required,min=6,max=15"`
}

type RegisterResponseDTO struct {
	Id    uint   `json:"id"`
	Email string `json:"email"`
}

type LoginResponseDTO struct {
	User struct {
		Id    uint   `json:"id"`
		Email string `json:"email"`
	} `json:"user"`
	Token string `json:"token"`
}
